<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans.xsd
       http://code.alibabatech.com/schema/dubbo
       http://code.alibabatech.com/schema/dubbo/dubbo.xsd">

       <dubbo:annotation />

       <#--
       <!-- 提供方应用信息，用于计算依赖关系 &ndash;&gt;
       <dubbo:application name="dubbo-provider"/>
       -->

       <!-- 使用zookeeper广播注册中心暴露服务地址
       <dubbo:registry protocol="zookeeper" address="${r"${"}dubbo.zookeeper.url}" />
       -->
       <!-- 直連模式 -->
       <dubbo:registry address="N/A" />

       <!-- 用dubbo协议在20880端口暴露服务 -->
       <dubbo:protocol name="dubbo" port="${r"${"}dubbo.serviceexportport}" />

       <!--
       <dubbo:monitor protocol="registry"></dubbo:monitor>
       -->

       <#list strXmlList as item>
       <dubbo:service interface="com.tmptSource.service.intf.I${item.classNameFirstWordUpper}Service" ref="${item.classNameFirstWordLower}Service" retries="0" timeout="40000"/>
       </#list>

</beans>
